//
//  ZXSTechnologyCollectionViewCell.m
//  demo
//
//  Created by maxine on 2016/11/13.
//  Copyright © 2016年 maxine. All rights reserved.
//

#import "ZXSTechnologyCollectionViewCell.h"

@implementation ZXSTechnologyCollectionViewCell

+(instancetype)cellWithCollectionView:(UICollectionView *)collectionView forIndexPath:indexPath{
    
    //1.创建标识符
    static NSString *ID = @"collectionCell";
    //2.去缓存池中找
    ZXSTechnologyCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:ID forIndexPath:indexPath];
    //3.如果找不到就新建
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"ZXSTechnologyCollectionViewCell" owner:nil options:nil] lastObject];
    }
    
    return cell;
}
@end
